package cn.edu.xhu.library_management.department;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
//import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Author: MMJ
 * @Date: 2022-01-23
 * @Description: 部门管理启动类
 */
@SpringBootApplication(scanBasePackages = "cn.edu.xhu.library_management")
@EnableDiscoveryClient
@MapperScan("cn.edu.xhu.library_management.department.mapper")
public class DepartmentsApplication {
    public static void main(String[] args) {
        SpringApplication.run(DepartmentsApplication.class,args);
    }
}
